package com.moji.java_moji.utils;

import java.util.HashMap;

public class JsonMapBuild {
    public static HashMap<String,Object> getJsonMap(String status,String msg){
        HashMap<String,Object> map = new HashMap<String, Object>();
        map.put("status", status);
        map.put("msg", msg);
        return map;
    }
    public static HashMap<String,Object> getJsonMap(String status,String msg,Object data){
        HashMap<String,Object> map = new HashMap<String, Object>();
        map.put("status", status);
        map.put("msg", msg);
        map.put("data", data);
        return map;
    }
}
